package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.Sprite;
	
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.text.NxLabel;
	/**
	 *功法 
	 * @author yanghr
	 * 
	 */	
	public class FuncPowerUI extends BaseUI
	{
		private var control:FuncPowerLogic=FuncPowerLogic.getInstance();
//		windowBG,actorGroup,back01,funcMC3,actorView,funcMC10,packGroup,funcCountLab,leavCountLab,exchangeBtn,funcMC2,composeBtn,gotoBtn,text1

		/**
		 *身上装备 
		 */		
		public var funcMC1:Sprite;
		public var funcMC2:Sprite;
		public var funcMC3:Sprite;
		public var funcMC4:Sprite;
		public var funcMC5:Sprite;
		public var funcMC6:Sprite;
		public var funcMC7:Sprite;
		public var funcMC8:Sprite;
		public var funcMC9:Sprite;
		public var funcMC10:Sprite;
		
		public var mc_1:Sprite;
		public var mc_2:Sprite;
		public var mc_3:Sprite
		public var mc_4:Sprite
		public var mc_5:Sprite
		public var mc_6:Sprite
		public var mc_7:Sprite
		public var mc_8:Sprite
		public var mc_9:Sprite
		public var mc_10:Sprite
		
		public var back01:Sprite
		public var back02:Sprite
		/**
		 *背包 
		 */		
		public var packGroup:NxViewGroup;
		/**
		 *人物选择 
		 */		
		public var actorGroup:NxViewGroup;
		/**
		 *一键合成 
		 */		
		public var composeBtn:NxButton;
		/**
		 *前往xxx 
		 */		
		public var gotoBtn:NxButton;
		/**
		 *兑换 
		 */		
		public var exchangeBtn:NxLabel;
		/**
		 *角色模型 
		 */		
		public var actorView:NxClip;
		
		/**
		 * 功法数量
		 */		
		public var funcCountLab:NxLabel;
		/**
		 *残卷数量 
		 */		
		public var leavCountLab:NxLabel;
		public function FuncPowerUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		override public function Init():void
		{
			funcCountLab.visible=false;
			control.Init()
		}
		override protected function BeforeShow():void
		{
			control.BeforeShow()
		}
		override protected function AfterHide():void
		{
			control.AfterHide();
		}
	}
}